* Matching among PRIs
 use "D:\Data and Code\PRI_for_PSM", clear 
 global xlist "Size RD_Expenditure Lab Age center west"
 psmatch2 shidian $xlist, ///
 outcome(sci) radius logit caliper(0.05) ate ties common
 pstest $xlist, both graph
 
* Mathing among Universities
 use "D:\Data and Dode\U_for_PSM.dta", clear 
 global xlist "Size RD_Expenditure Lab Age center west"
 psmatch2 shidian $xlist, ///
 outcome(sci) radius logit caliper(0.05) ate ties common
 pstest $xlist, both graph
 
* Mathing among PRIs and Universities

 use "D:\Data and Dode\PRI&U_for_PSM.dta", clear 
 global xlist "Size RD_Expenditure Lab Age center west Type"
 psmatch2 shidian $xlist, ///
 outcome(sci) radius logit caliper(0.05) ate ties common
 pstest $xlist, both graph


 


 
 
